package com.battle.pojo.vo.userAttention;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.battle.pojo.enums.CaseStatusEnum;
import com.battle.pojo.enums.CaseTypeEnum;
import com.battle.pojo.enums.OrganizationTypeEnum;
import com.battle.pojo.enums.UserShareTypeEnum;
import jakarta.persistence.Column;
import lombok.Data;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.*;

/**
* 【描 述】：获取用户关注列表VO
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class GetUserAttentionListVo {

    /**
    *   id
    */
    private Long id;


    /**
     * 关注id
     */
    @Column()
    private Long userId;

    /**
     * 关注内容id
     */
    @Column()
    private Long fid;

    /**
     * 关注内容类型
     */
    @Column()
    private UserShareTypeEnum type;

    /**
     * 战例名称
     */
    @Column()
    private String caseName;


    /**
     * 组织类型=战例级别
     */
    @Column()
    private OrganizationTypeEnum organizationType;

    /**
     * 状态 0待提交 1待审核 2已驳回 3已发布 4已下架
     */
    @Column()
    private CaseStatusEnum status;

    /**
     * 等级
     */
    @Column(length = 255)
    private String level;

    /**
     * 案件类型
     */
    @Column(length = 255)
    private String caseType;

    /**
     * 救援城市
     */
    @Column(length = 255)
    private String city;

    /**
     * 发布机构
     */
    @Column()
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long issueDepartmentId;

    /**
     * 发布人
     */
    @Column()
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long issueUserId;

    /**
     * 发布日期
     */
    @Column()
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime issueDate;


    /**
     * 发布机构
     */
    private String issueOrganizationName;

    /**
     * 发布人
     */
    private String issueName;

}
